home *** CD-ROM | disk | FTP | other *** search
- Path: bignews.shef.ac.uk!usenet
- From: A.Robertson@shef.ac.uk (Sandy Robertson)
- Newsgroups: comp.lang.c
- Subject: Re: C-function for string similarity
- Date: 13 Mar 1996 13:32:56 GMT
- Organization: Information Studies, University of Sheffield , UK
- Message-ID: <4i6iq8$kl7@bignews.shef.ac.uk>
- References: <4hgsg2$95s@kralle.zdv.Uni-Mainz.DE> <313C4368.2FDE@eso.org>
- NNTP-Posting-Host: pc101081.shef.ac.uk
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
-
- * I am looking for a clever C-function (or LISP, PROLOG etc) taking two
- * strings as input and "evaluating" the measure of similarity between the
- * strings. For example, if the
- * strings are identical, the function should return 1, if they share no
- * characters at all, it should return 0. If they share some characters, and
- * these characters have a "comparable" position and order in this string,
- * the function should return something between 0 and 1, indicating the
- * degree of similarity.
-
- * Any pointer to libraries or code with such a clever function are welcome.
- * Thank you very much in advance.
-
- * Robert
-
- You should read Sankoff, D., and Kruskal, J.B. Time warps, string edits,
- and macromolecules: the theory and practice of sequence comparison.
- Reading, Mass., Addison-Wesley, 1983. No code, but it will tell you all
- about what function you should be looking for.
-
- Cheers,
-
- Sandy.
-
-